<%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<html>
  <head>
   <base href="<%=basePath%>">
    <title>工资管理系统登录用户信息列表</title>
    <link rel="styleSheet" href="css/body.css" type="text/css" media="all" />
  </head>
  
  <body>
  	<table>
  		<caption>工资管理系统登录用户信息列表</caption>
  		<tr>
  			<th>信息列表序号</th>
  			<th>工号/帐号</th>
  			<th>密 码</th>
  			<th>电 话</th>
  			<th>邮 箱</th>
  			<th>权 限 等 级</th>
  			<th>新 增 用 户</th>
  			<th>删 除 用 户</th>
  			<th>修 改 信 息</th>
  			<th>备 注</th>
  		</tr>
  		<s:iterator value="userList" id="user" status="status">
  		<tr onmouseout="this.bgColor='white'" onmouseover="this.bgColor='#66CCFF'">
  				<td>${status.count}</td>
	  			<td>${user.workid}</td>
	  			<td>${user.password}</td>
	  			<td>${user.phone}</td>
	          	<td width="50" class="wr4">${user.email}</td>
	          	<td width="50" class="wr4">${user.grade}</td>
	          	<td width="50" class="wr4"><a href="UserActiontoAddUser">新 增</a></td>
	  			<td><a href="UserActiondeleteUser?workid=${user.workid}">删 除</a></td>
	  			<td>修 改</td>
	  			<td></td>
	  	</tr>
	  	</s:iterator>
  	</table>
  </body>
</html>